package IC.SymbolTable;

import IC.SemanticCheckes.SemanticError;
import IC.Types.TypeTable;
import IC.AST.*;

public class ClassSymbol extends Symbol {

	public ClassSymbol(ICClass c) throws SemanticError{
		super(c.getName(),"CLASS");
		TypeTable.addClassType(c);
		this.type = TypeTable.getClassType(this.name);
		this.icClass = c;
	}
	
	public ICClass getIcClass() {
		return icClass;
	}
	
	private ICClass icClass;
}
